Introduction

Moving away from home for the first time is often a experience that most of people will always remember. This experience can be either really good or really bad. I know that someday it will be my turn, so I decided to prepare my self to do it, and the first step will be understanding how much would cost to rent an apartment in my hometown.

This report will explore a dataset containing rental prices and attributes for approximately 2218 apartments that are located at Belo Horizonte, Brazil. This data set was crawled from NetImoveis using the NetSpider crawler.

Analysis

Plotting locations

Usually we starting looking for apartments on certain locations that we have interest in, ignoring others that maybe aren’t that close to our interest point, but can be a good option if you consider the price. So, remove this bias, we want to have a dataset that contains apartments from different regions. Let’s see how our apartments are distributed:

The plot show us that we have some misplaced points. Few of them have 0 value for the latitude and longitude, and others are placed on different brazilian capitals. We are going to impute those values and generate our map again.

There are regions with more available apartments than others. Among our 192 neighborhoods our top 5, when considering apartment options, are: Buritis (130), Funcionários (67), Castelo (66), Centro (54) and Gutierrez (51).

Another thing that might be interested to look at is to see how our rental prices are distributed if we consider the apartament’s location. We will be analyzing the rental price per square meter, that probably can give us more insights than the raw rental price.

Seems that the south-west region is one of the most expensives. One of those five neighborhoods that we listed before (Funcionários) is located in this area. Let’s see how it’s median price compares those 4 other neighborhoods:

The median rental price of the Funcionários neighborhood is almost 50% more expensive than the other regions, so, as we expected, the neighborhood might have a huge impact on the rental price.